import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";


const routes:Array<RouteRecordRaw>=[
    {
        path:"/",
        name:"home",
        component:()=>import("../components/HelloWorld.vue")
    },
    {
        path:"/AddInfor",
        name:"AddInfor",
        component:()=>import("../components/AddInfor.vue")
    },
    {
        path:"/ShowInfor",
        name:"ShowInfor",
        component:()=>import("../components/ShowInfor.vue")
    },
]
const Router=createRouter({
    history:createWebHistory(),
    routes
})
export default Router

